Teaching Unit Testing using Test-Driven Development

نویسندگان

  • Patrick J. Schroeder
  • Darrin Rothe
چکیده

Of all testing levels, the unit level of testing has undergone the most recent and most dramatic change. With the introduction of new agile (aka, “lightweight”) development methods, such as XP (eXtreme Programming) came the idea of Test-Driven Development (TDD). TDD is a software development technique that melds program design, implementation and testing in a series micro-iterations that focus on simplicity and feedback. Programmer tests are created using a unit testing framework and are 100% automated.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Going Interactive: Combining Ad-Hoc and Regression Testing

Different kinds of unit testing activities are used in practice. Organised unit testing (regression testing or test-first activities) are very popular in commercial practice, while ad-hoc (interactive) testing is popular in small scale and experimental development environments and teaching situations. These testing styles are usually kept separate. This paper introduces a design and implementat...

متن کامل

Challenges in Teaching Test Driven Development

Test-driven development (TDD) has been proposed as a solution to improve testing in Industry and in academia. The purpose of this poster is to outline the challenges of teaching a novel Test-First approach in a Level 8 course on Software Testing. Traditionally, introductory programming and software testing courses teach a test-last approach. After the introduction of the Extreme Programming ver...

متن کامل

An MDA Approach to Testing the Tarzan Model Transformation Engine Model-Based Test Driven Development of the Tarzan Model-Transformation Engine

Tarzan is an implementation of a ruleand pattern-based engine for the transformation of models defined using the Object Management Group’s (OMG) Model-Driven Architecture (MDA). The process for the development of the engine included the concurrent development of a unit test suite for the engine. The test suite is constructed as a number of models, whose elements comprise the test cases, and whi...

متن کامل

A Constraint-Based Framework for Test Case Generation in Method-Level Black-Box Unit Testing

Automatic test case execution in test-driven development provides an excellent return on investment. However, test cases in test-driven development are usually designed manually. Manual acquisition of test cases is laborious, time-consuming, and error-prone. Model-based testing is a technique to automatically generate test cases from software models. Model-based test-driven development provides...

متن کامل

SEAGENT MAS Platform Development Environment (Demo Paper)

SEAGENT 1 has two distinguished characteristics, which differentiate it from the former development frameworks. The first one is its interactive development environment. This environment support test-driven style plan development [1]. Plans and test plans can both be written using the HTN Editor and build-in unit testing tool verifies written plans using the test plans. The development environm...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005